FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (31 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-ImmunizationRecommendation2to3.html
Url http://hl7.org/fhir/StructureMap/ImmunizationRecommendation2to3
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name ImmunizationRecommendation2to3
Title ImmunizationRecommendation Transforms: R2 to R3
Experimental False
Realm uv
Authority hl7
Description ImmunizationRecommendationTransformsR2toR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/ImmunizationRecommendation2to3'
/// name = 'ImmunizationRecommendation2to3'
/// title = 'ImmunizationRecommendation Transforms: R2 to R3'
/// status = 'active'

uses "http://hl7.org/fhir/1.0/ImmunizationRecommendation" alias ImmunizationRecommendationR2 as source
uses "http://hl7.org/fhir/3.0/ImmunizationRecommendation" alias ImmunizationRecommendation as target

imports "http://hl7.org/fhir/StructureMap/*2to3"

group ImmunizationRecommendation(source src : ImmunizationRecommendationR2, target tgt : ImmunizationRecommendation) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier "ImmunizationRecommendation-identifier";
  src.patient -> tgt.patient "ImmunizationRecommendation-patient";
  src.recommendation as vs0 -> tgt.recommendation as vt0 then imrRecommendation(vs0, vt0) "ImmunizationRecommendation-recommendation";
}

group imrRecommendation(source src, target tgt) extends BackboneElement {
  src.date -> tgt.date "recommendation-date";
  src.vaccineCode -> tgt.vaccineCode "recommendation-vaccineCode";
  src.doseNumber -> tgt.doseNumber "recommendation-doseNumber";
  src.forecastStatus -> tgt.forecastStatus "recommendation-forecastStatus";
  src.dateCriterion as vs -> tgt.dateCriterion as vt then imrDateCriterion(vs, vt) "recommendation-dateCriterion";
  src.protocol as vs -> tgt.protocol as vt then imrProtocol(vs, vt) "recommendation-protocol";
  src.supportingImmunization -> tgt.supportingImmunization "recommendation-supportingImmunization";
  src.supportingPatientInformation -> tgt.supportingPatientInformation "recommendation-supportingPatientInformation";
}

group imrDateCriterion(source src, target tgt) extends BackboneElement {
  src.code -> tgt.code "dateCriterion-date";
  src.value -> tgt.value "dateCriterion-date";
}

group imrProtocol(source src, target tgt) extends BackboneElement {
  src.doseSequence -> tgt.doseSequence "protocol-doseSequence";
  src.description -> tgt.description "protocol-description";
  src.authority -> tgt.authority "protocol-authority";
  src.series -> tgt.series "protocol-series";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "ImmunizationRecommendation2to3",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/ImmunizationRecommendation2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'ImmunizationRecommendation2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'ImmunizationRecommendation Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/ImmunizationRecommendation<span style=\"color: navy\">&quot; </span><b>alias </b>ImmunizationRecommendationR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/ImmunizationRecommendation<span style=\"color: navy\">&quot; </span><b>alias </b>ImmunizationRecommendation <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>ImmunizationRecommendation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>ImmunizationRecommendationR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>ImmunizationRecommendation<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;ImmunizationRecommendation-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n src.patient<span style=\"color: navy\"><b> -&gt; </b></span>tgt.patient <i>&quot;ImmunizationRecommendation-patient&quot;</i><span style=\"color: navy\">;</span>\r\n src.recommendation<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.recommendation<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>imrRecommendation<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;ImmunizationRecommendation-recommendation&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>imrRecommendation<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.date<span style=\"color: navy\"><b> -&gt; </b></span>tgt.date <i>&quot;recommendation-date&quot;</i><span style=\"color: navy\">;</span>\r\n src.vaccineCode<span style=\"color: navy\"><b> -&gt; </b></span>tgt.vaccineCode <i>&quot;recommendation-vaccineCode&quot;</i><span style=\"color: navy\">;</span>\r\n src.doseNumber<span style=\"color: navy\"><b> -&gt; </b></span>tgt.doseNumber <i>&quot;recommendation-doseNumber&quot;</i><span style=\"color: navy\">;</span>\r\n src.forecastStatus<span style=\"color: navy\"><b> -&gt; </b></span>tgt.forecastStatus <i>&quot;recommendation-forecastStatus&quot;</i><span style=\"color: navy\">;</span>\r\n src.dateCriterion<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.dateCriterion<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>imrDateCriterion<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>&quot;recommendation-dateCriterion&quot;</i><span style=\"color: navy\">;</span>\r\n src.protocol<b> as </b><span style=\"color: maroon\">vs</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.protocol<b> as </b><span style=\"color: maroon\">vt</span><b> then </b>imrProtocol<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt</span><span style=\"color: navy\">)</span> <i>&quot;recommendation-protocol&quot;</i><span style=\"color: navy\">;</span>\r\n src.supportingImmunization<span style=\"color: navy\"><b> -&gt; </b></span>tgt.supportingImmunization <i>&quot;recommendation-supportingImmunization&quot;</i><span style=\"color: navy\">;</span>\r\n src.supportingPatientInformation<span style=\"color: navy\"><b> -&gt; </b></span>tgt.supportingPatientInformation <i>&quot;recommendation-supportingPatientInformation&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>imrDateCriterion<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.code<span style=\"color: navy\"><b> -&gt; </b></span>tgt.code <i>&quot;dateCriterion-date&quot;</i><span style=\"color: navy\">;</span>\r\n src.value<span style=\"color: navy\"><b> -&gt; </b></span>tgt.value <i>&quot;dateCriterion-date&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>imrProtocol<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.doseSequence<span style=\"color: navy\"><b> -&gt; </b></span>tgt.doseSequence <i>&quot;protocol-doseSequence&quot;</i><span style=\"color: navy\">;</span>\r\n src.description<span style=\"color: navy\"><b> -&gt; </b></span>tgt.description <i>&quot;protocol-description&quot;</i><span style=\"color: navy\">;</span>\r\n src.authority<span style=\"color: navy\"><b> -&gt; </b></span>tgt.authority <i>&quot;protocol-authority&quot;</i><span style=\"color: navy\">;</span>\r\n src.series<span style=\"color: navy\"><b> -&gt; </b></span>tgt.series <i>&quot;protocol-series&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/ImmunizationRecommendation2to3",
  "version" : "0.1.0",
  "name" : "ImmunizationRecommendation2to3",
  "title" : "ImmunizationRecommendation Transforms: R2 to R3",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "ImmunizationRecommendationTransformsR2toR3",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/1.0/ImmunizationRecommendation",
      "mode" : "source",
      "alias" : "ImmunizationRecommendationR2"
    },
    {
      "url" : "http://hl7.org/fhir/3.0/ImmunizationRecommendation",
      "mode" : "target",
      "alias" : "ImmunizationRecommendation"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*2to3"
  ],
  "group" : [
    {
      "name" : "ImmunizationRecommendation",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "ImmunizationRecommendationR2",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "ImmunizationRecommendation",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "ImmunizationRecommendation-identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "ImmunizationRecommendation-patient",
          "source" : [
            {
              "context" : "src",
              "element" : "patient",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "patient",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "ImmunizationRecommendation-recommendation",
          "source" : [
            {
              "context" : "src",
              "element" : "recommendation",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "recommendation",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "imrRecommendation",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "imrRecommendation",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "recommendation-date",
          "source" : [
            {
              "context" : "src",
              "element" : "date",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "date",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "recommendation-vaccineCode",
          "source" : [
            {
              "context" : "src",
              "element" : "vaccineCode",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "vaccineCode",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "recommendation-doseNumber",
          "source" : [
            {
              "context" : "src",
              "element" : "doseNumber",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "doseNumber",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "recommendation-forecastStatus",
          "source" : [
            {
              "context" : "src",
              "element" : "forecastStatus",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "forecastStatus",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "recommendation-dateCriterion",
          "source" : [
            {
              "context" : "src",
              "element" : "dateCriterion",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "dateCriterion",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "imrDateCriterion",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        },
        {
          "name" : "recommendation-protocol",
          "source" : [
            {
              "context" : "src",
              "element" : "protocol",
              "variable" : "vs"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "protocol",
              "variable" : "vt"
            }
          ],
          "dependent" : [
            {
              "name" : "imrProtocol",
              "parameter" : [
                {
                  "valueId" : "vs"
                },
                {
                  "valueId" : "vt"
                }
              ]
            }
          ]
        },
        {
          "name" : "recommendation-supportingImmunization",
          "source" : [
            {
              "context" : "src",
              "element" : "supportingImmunization",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "supportingImmunization",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "recommendation-supportingPatientInformation",
          "source" : [
            {
              "context" : "src",
              "element" : "supportingPatientInformation",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "supportingPatientInformation",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "imrDateCriterion",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "dateCriterion-date",
          "source" : [
            {
              "context" : "src",
              "element" : "code",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "code",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "dateCriterion-date",
          "source" : [
            {
              "context" : "src",
              "element" : "value",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "value",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "imrProtocol",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "protocol-doseSequence",
          "source" : [
            {
              "context" : "src",
              "element" : "doseSequence",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "doseSequence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "protocol-description",
          "source" : [
            {
              "context" : "src",
              "element" : "description",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "description",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "protocol-authority",
          "source" : [
            {
              "context" : "src",
              "element" : "authority",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "authority",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "protocol-series",
          "source" : [
            {
              "context" : "src",
              "element" : "series",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "series",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.